home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / internet / sweeper / samples / olecon~1 / framewrk / makefile < prev    next >
Makefile  |  1995-12-05  |  2KB  |  77 lines

  1. #=------------------------------------------------------------------------=
  2. # Makefile    [Framework]
  3. #=------------------------------------------------------------------------=
  4. # Copyright  1995  Microsoft Corporation.  All Rights Reserved.
  5. #
  6. # THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 
  7. # ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
  8. # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 
  9. # PARTICULAR PURPOSE.
  10. #=--------------------------------------------------------------------------=
  11. #
  12. # builds a library for the Framework
  13. #
  14.  
  15. TARGETOS=BOTH
  16. APPVER=4.0
  17.  
  18. MKDEP=mkdep
  19.  
  20. !include <win32.mak>
  21.  
  22. cflags=$(cflags) -Oi
  23.  
  24. !if "$(NODEBUG)"!=""
  25. CTLFWLIB=CTLFWR32.LIB
  26. !else
  27. cdebug=$(cdebug) -DDEBUG
  28. CTLFWLIB=CTLFWD32.LIB
  29. !endif
  30.  
  31. OBJS=AutoObj.Obj\
  32.      ClassF.Obj\
  33.      CtlEmbed.Obj\
  34.      CtlMisc.Obj\
  35.      CtlPsst.Obj\
  36.      CtlHelp.Obj\
  37.      Debug.Obj\
  38.      DibClasses.Obj\
  39.      Globals.Obj\
  40.      Internet.Obj\
  41.      IPServer.Obj\
  42.      PropPage.Obj\
  43.      StdEnum.Obj\
  44.      Unknown.Obj\
  45.      Util.Obj
  46.  
  47. all: dep $(CTLFWLIB)
  48.  
  49. $(CTLFWLIB): $(OBJS) makefile
  50.     $(implib) /NODEFAULTLIB $(OBJS) -out:$*.lib -machine:$(CPU)
  51.     if not exist ..\lib md ..\lib
  52.     copy $(CTLFWLIB) ..\lib
  53.  
  54. .cpp.obj:
  55.     $(cc) $(cflags) $(cvars) $(cdebug) -I..\Include $<
  56.  
  57. .c.obj:
  58.     $(cc) $(cflags) $(cvars) $(cdebug) -I..\Include -Tp $<
  59.  
  60. Dep:
  61.     @echo Generating Dependancies
  62.     $(MKDEP) -n -P ./ -I. -I..\Include -s .obj *.c* > dep.mak
  63.  
  64. clean:
  65.     del *.lib
  66.     del *.obj
  67.     del *.mak
  68.  
  69. #=----------------------------=
  70. # Include Dependency Makefile 
  71. #
  72. !IF EXIST(dep.mak)
  73. !include dep.mak
  74. !ENDIF
  75.  
  76.  
  77.